.PHONY:all
all:UdpServer UdpClient

UdpServer:main.cc
	g++ $^ -o $@ -std=c++11
UdpClient:UdpClient.cc
	g++ $^ -o $@ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -rf UdpServer UdpClient